include_rules = [
    "+base/containers/flat_map.h",
    "+base/functional/bind.h",
    "+base/strings/string_util.h",
    "+base/test",
    "+base/task/task_traits.h",
    "+base/threading/sequenced_task_runner_handle.h",
    "+base/threading/thread_task_runner_handle.h",

    "+components/viz/common/gpu/raster_context_provider.h",
    "+components/viz/common/resources/single_release_callback.h",

    "+gpu/command_buffer/client/shared_image_interface.h",
    "+gpu/command_buffer/client/raster_interface.h",
    "+gpu/config/gpu_feature_info.h",
    "+gpu/GLES2/gl2extchromium.h",

    "+media/audio",
    "+media/base",
    "+media/filters",
    "+media/formats/mp4/box_definitions.h",
    "+media/formats/mp4/hevc.h",
    "+media/fuchsia/video",
    "+media/media_buildflags.h",
    "+media/mojo",
    "+media/renderers",
    "+media/video",

    "+third_party/libaom",
    "+third_party/libvpx",
    "+third_party/libyuv",

    "+ui/gfx/color_space.h",
    "+ui/gfx/geometry/rect.h",
    "+ui/gfx/geometry/size.h",
    "+ui/gfx/gpu_memory_buffer.h",
]

specific_include_rules = {
  "video_decoder_broker_test\.cc": [
    "+base/run_loop.h",
    "+base/threading/thread.h",
    "+gpu/command_buffer/common/mailbox_holder.h",
  ],
  "audio_decoder_broker_test\.cc": [
    "+base/run_loop.h",
    "+base/files/file_util.h",
  ],
  "audio_encoder_fuzzer\.cc": [
    "+base/win/scoped_com_initializer.h",
    "+media/gpu/windows/mf_audio_encoder.h",
  ],
  "background_readback\.cc": [
    # TODO(crbug.com/1198375): Remove this temporary exception after migration.
    "+base/task/bind_post_task.h",
  ],
  "video_frame\.cc": [
    # TODO(crbug.com/1198375): Remove this temporary exception after migration.
    "+base/task/bind_post_task.h",
  ],
  "video_frame_test\.cc": [
    "+components/viz/test/test_context_provider.h",
  ],
  "video_frame_monitor_test\.cc": [
    "+base/run_loop.h",
  ],
}
